package model.simulation;

import model.AbstractDepartment;

//A级单位
public class SiADepartment extends SiDepartment
{
	 String aName;

	public SiADepartment(SiBDepartment bDepartment)
	{
		this.aName = bDepartment.aName;
	}

	@Override
	public boolean hasSubDepartment() {return true;}

	@Override
	public boolean isSubDepartmentInThis(AbstractDepartment department)
	{
		SiBDepartment bDepartment=(SiBDepartment)department;
		return aName.equals(bDepartment.aName);
	}

	@Override
	public String departmentName()
	{
		return aName;
	}
}
